function saveUserData() {

	var usernameReg = $("#usernameReg").val();
	var passwordReg = $("#passwordReg").val();
	var emailReg = $("#emailReg").val();
	var fakultyReg = $("#fakultyReg").val();


	$.ajax({
		url : "http://141.19.145.238/saveUser.php",
		async : false,
		data : {
			username : usernameReg,
			password : passwordReg,
			email : emailReg,
			fakulty : fakultyReg
		}
	}).done(
			function(response) {
				window.MiniSchedulerToaster.makingToast(response);
	});
}